package com.coderman.business.service;

import com.coderman.business.mapper.StudentScoreMapper;
import com.coderman.business.service.base.IBaseService;
import com.coderman.common.error.SystemException;
import com.coderman.common.model.student.StudentScore;
import com.coderman.common.vo.student.StudentScoreVO;
import com.coderman.common.vo.system.PageVO;

import java.util.List;

/**
 * 学生考试信息业务层接口
 * @author  文晓平
 * @Date 2023-1-9
 * @version 1.0
 */
public interface IStudentScoreService extends IBaseService<StudentScoreMapper, StudentScore, Integer> {
    PageVO<StudentScore> findList(Integer pageNum, Integer pageSize, StudentScoreVO studentScoreVO);

    /**
     * 添加学员成线
     * @param studentScoreVO
     */
    void add(StudentScoreVO studentScoreVO);

    /**
     * 编辑学员成线
     * @param id
     * @return
     */
    StudentScoreVO edit(Integer id) throws SystemException;

    /**
     * 更新学员成线
     * @param id
     * @param studentScoreVO
     */
    void update(Integer id, StudentScoreVO studentScoreVO) throws SystemException;

    /**
     * 删除学员成线
     * @param id
     */
    void delete(Integer id) throws SystemException;

    /**
     * 所有学员成线
     * @return
     */
    List<StudentScoreVO> findAllVO();


    /**
     * 全部学员成线
     * @return
     */
    List<StudentScore> findAll();
}

